﻿<%@ Page Language="C#" MasterPageFile="~/Back/BackgroundMain.master" AutoEventWireup="true"
    CodeFile="ChangePassword.aspx.cs" Inherits="Back_ChangePassword" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="centertop" id="dvNav" runat="server">
        当前位置：<a href="../Default.aspx">中共重庆市沙坪坝区委统一战线工作部</a>&nbsp;>>&nbsp;<a href="ChangePassword.aspx">帐户管理</a></div>
    <div style="text-align: left; padding-left: 22px; padding-top:10px;">
        <b>
            修改帐户信息:</b>
        <table style="text-align: left">
            <tr>
                <td>
                    原用户名
                </td>
                <td>
                    <asp:TextBox ID="tb_UserName" Width="175px" runat="server" ReadOnly="True"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    新用户名
                </td>
                <td>
                    <asp:TextBox ID="tb_NewName" Width="175px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    原密码
                </td>
                <td>
                    <asp:TextBox ID="tb_UserPwd" TextMode="Password" Width="175px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    新密码
                </td>
                <td>
                    <asp:TextBox ID="tb_NewPwd" TextMode="Password" Width="175px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    确认密码
                </td>
                <td>
                    <asp:TextBox ID="tb_AffirmPwd" TextMode="Password" Width="175px" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
        <div>
            <asp:Button runat="server" CssClass="button" ID="btn_Submit" Text="确认" ValidationGroup="Load"
                OnClick="btn_Submit_Click"></asp:Button></div>
        <div class="errorlist">
            <div style="width: 300px; padding-left: 210px;">
                <asp:RequiredFieldValidator ID="Requiredfieldvalidator1" runat="server" ValidationGroup="Load"
                    ControlToValidate="tb_UserName" ErrorMessage="请输入原用户名" Display="None"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="Requiredfieldvalidator4" runat="server" ValidationGroup="Load"
                    ControlToValidate="tb_NewName" ErrorMessage="请输入新用户名" Display="None"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tb_UserPwd"
                    ValidationGroup="Load" ErrorMessage="请输入原密码" Display="None"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tb_NewPwd"
                    ValidationGroup="Load" ErrorMessage="请输入新密码" Display="None"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="tb_AffirmPwd"
                    ControlToValidate="tb_NewPwd" ValidationGroup="Load" ErrorMessage="新密码和确认密码不一致"
                    Display="None"></asp:CompareValidator>
                <asp:ValidationSummary ID="ValidationSummary1" ShowSummary="true" HeaderText="请看下面提示信息"
                    ValidationGroup="Load" runat="server" />
                <div id="div_Show" runat="server" style="color: Red">
                </div>
            </div>
        </div>
    </div>
</asp:Content>
